package com.saver.view.formatter;

import com.github.mikephil.charting.utils.ValueFormatter;
import com.saver.core.util.CommonUtil;

import java.text.NumberFormat;
import java.util.Locale;

/**
 * Created by HeRGoS on 26/04/2015
 */
public class NumberValueFormatter implements ValueFormatter {

    @Override
    public String getFormattedValue(float value) {
        return CommonUtil.formatCurrency(value);
    }
}
